package com.jeecms.wicool.dao.cms;

import java.util.List;

import com.jeecms.cms.entity.main.CmsUser;
import com.jeecms.common.hibernate3.Updater;
import com.jeecms.common.page.Pagination;
import com.jeecms.wicool.entity.cms.CmsSpecialInfo;
/**
 */
public interface CmsSpecialInfoDao{
	public Pagination getPage(String title ,int pageNo, int pageSize,CmsUser user);
	public CmsSpecialInfo findById(Integer id);
	public CmsSpecialInfo updateByUpdater(Updater<CmsSpecialInfo> updater);
	public CmsSpecialInfo save(CmsSpecialInfo bean);
	public CmsSpecialInfo deleteById(Integer id);
	public List<CmsSpecialInfo> getAll(CmsUser user);
	public boolean isHave(CmsSpecialInfo bean);
	public CmsSpecialInfo findByCmsSpecialInfo(CmsSpecialInfo bean);
	
	public CmsSpecialInfo findByContentId(Integer contentId);
}